<?php
use think\facade\Config;
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="<?php echo Config::get('app.static_domian')?>/layui/css/layui.css"/>
    <style type="text/css">
        body{margin:10px auto;width: 750px;}ul{margin-top:5px;}li{margin-top:3px;}.layui-form-switch{margin-top: 0;}#tree1 ul+ul{border-top: 1px dashed #e2e2e2;}
    </style>
</head>
<body>

    <div>
        <span>姓名：</span>
        <span><?php echo $user['username'];?></span>
    </div>
    <div>
        <span>密码：</span>
        <span><?php echo $user['password'];?></span>
    </div>
    <div>
        <span>邮箱：</span>
        <span><?php echo $user['email'];?></span>
    </div>
    <div>
        <span>粉丝数：</span>
        <span><?php echo $user['fans'];?></span>
    </div>
    <div>
        <span>头像：</span>
        <?php if($user['logo']){?>
            <img src="<?php echo Config::get('app.data_url') . '/' . $user['logo'];?>" />
        <?php }?>
    </div>

</body>
</html>
